home *** CD-ROM | disk | FTP | other *** search
- Path: news.coli.uni-sb.de!stefan
- From: stefan@mpi-sb.mpg.de (Stefan Naeher)
- Newsgroups: comp.lang.c++.leda
- Subject: Re: Modifying int value in v->data[0] in GRAPH
- Date: 12 Feb 1996 08:19:42 GMT
- Organization: MPI Informatik
- Message-ID: <4fmt6u$56e@coli-gate.coli.uni-sb.de>
- References: <DMI23K.4Io@beaver.cs.washington.edu>
- NNTP-Posting-Host: robin.ag1.mpi-sb.mpg.de
- Keywords: GRAPH data[0]
-
- In article <DMI23K.4Io@beaver.cs.washington.edu> soha@cs.washington.edu (Soha Hassoun) writes:
- >
- >I have a GRAPH<my_node_info, my_edge_info> G. After I finish
- >constructing the graph G, I would like to change the value of an
- >integer K that is a member of the class my_node_info.
- >Is there support for doing this?
- >
-
-
- GRAPH<my_node_info,my_edge_info> G;
- ...
- G[v].K = 17;
-
-
- --
-
-
- -------------------------------------------------------------------------------
- Stefan N"aher e-mail: stefan@mpi-sb.mpg.de
-